<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p3</title>

    <style>
        div{
            width: 200px;
            height: 200px;
            border: 5px solid red;
            text-align: center;
            line-height: 200px;
            font-size: 80px;
            margin: 50px auto;
        }
        .d1{
            transform: translateX(100px);
        }
        .d2{
            transform: translateX(-50px);
        }
        .d3{
            transform: translateX(-100px);
        }
        .d4{
            transform: translateY(100px);
        }
        .d5{
            transform: translateY(0px);
        }
        .d6{
            transform: translateY(-100px);
        }
        .d7{
            transform: rotate(45deg);
        }
        .d9{
            transform: rotate(320deg);
        }
        .d11{
            transform: scaleX(-1);
        }
        .d12{
            transform: scaleY(-1);
        }
    </style>

</head>
<body>

<div class="d1">1</div>
<div class="d2">2</div>
<div class="d3">3</div>
<hr>
<div class="d4">4</div>
<div class="d5">5</div>
<div class="d6">6</div>
<hr>
<div class="d7">7</div>
<div class="d8">8</div>
<div class="d9">9</div>
<hr>
<div class="d10">10</div>
<div class="d11">11</div>
<div class="d12">12</div>
<hr>

</body>
</html>